﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Practices.Unity;
using Sis.Entities;
using Sis.Repository;

namespace Sis.Service
{
    public class CuotaService : ICuotaService
    {
        [Dependency]
        public ICuotaRepository cuotaRepo { get; set; }
        public List<CuotaIsla> GetAllFromCuotas()
        {
            return cuotaRepo.GetAllFromCuotas();
        }


        public CuotaIsla CuotaIslaByID(int id)
        {
            return cuotaRepo.IslaById(id);
        }
    }
}
